<table>
    <tr style="height: 36px">
        <td style="width: 200px;">
            <?php
            echo '<label style="font-weight: bold;">'. t('LBL_ASSIGNED_ROLES', 'authAssignment') .'</label>';
            ?>	
        </td>
        <td style="width: 50px; text-align: center"></td>
        <td style="width: 200px;">
            <?php
            echo '<label style="font-weight: bold;">'. t('LBL_NOT_ASSIGNED_ROLES', 'authAssignment') .'</label>';
            ?>			

        </td>
    </tr>
    <tr>
        <td style="width: 200px;">
            <?php
            echo Html::dropDownList('revoke[]', null, Html::listData($data['userAssignedRoles'], 'name', 'name'), array('size' => 20, 'multiple' => 'multiple', 'style' => 'width:200px'));
            ?>	
        </td>
        <td style="width: 50px; text-align: center">
            <div>
                <?php
                $ajax =
                        array(
                            'type' => 'POST',
                            'update' => '#div-roles',
                );
                echo Html::ajaxSubmitButton('', array('assign', 'assignRoles' => 1), $ajax, $data['assign']);
                ?>
            </div>	
            <div>
                <?php
                $ajax =
                        array(
                            'type' => 'POST',
                            'update' => '#div-roles',
                );
                echo Html::ajaxSubmitButton('', array('assign', 'revokeRoles' => 1), $ajax, $data['revoke']);
                ?>			
            </div>
        </td>
        <td style="width: 200px;">
            <?php
            echo Html::dropDownList('assign[]', null, Html::listData($data['userNotAssignedRoles'], 'name', 'name'), array('size' => 20, 'multiple' => 'multiple', 'style' => 'width:200px'));
            ?>			
        </td>
    </tr>
</table>